﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Yala.Client.Web.MVC.Models
{
    public static class InitialToDoListData
    {
        private static List<ToDoItem> ToDoItems = new List<ToDoItem>();

        public static List<ToDoItem> GetData()
        {
            ToDoItems.Clear();

            ToDoItems.Add(new ToDoItem()
            {
                ItemId = new Guid(),
                ItemName = "ToDo-1",
                Description = "ToDo-1 description",
                CreatedDate = new DateTime(2011, 5, 1),
                StartTime = new DateTime(2011, 5, 1),
                EndTime = new DateTime(2012, 5, 1),
                Status = ToDoStatus.Created,
                Category = "Category 1"
            });

            ToDoItems.Add(new ToDoItem()
            {
                ItemId = new Guid(),
                ItemName = "ToDo-2",
                Description = "ToDo-2 description",
                CreatedDate = new DateTime(2011, 5, 2),
                StartTime = new DateTime(2011, 5, 2),
                EndTime = new DateTime(2012, 5, 3),
                Status = ToDoStatus.Created,
                Category = "Category 2"
            });


            ToDoItems.Add(new ToDoItem()
            {
                ItemId = new Guid(),
                ItemName = "ToDo-3",
                Description = "ToDo-3 description",
                CreatedDate = new DateTime(2011, 5, 3),
                StartTime = new DateTime(2011, 5, 3),
                EndTime = new DateTime(2012, 5, 3),
                Status = ToDoStatus.Created,
                Category = "Category 3"
            });

            ToDoItems.Add(new ToDoItem()
            {
                ItemId = new Guid(),
                ItemName = "ToDo-4",
                Description = "ToDo-4 description",
                CreatedDate = new DateTime(2011, 5, 5),
                StartTime = new DateTime(2011, 5, 5),
                EndTime = new DateTime(2012, 5, 5),
                Status = ToDoStatus.Created,
                Category = "Category 1"
            });

            ToDoItems.Add(new ToDoItem()
            {
                ItemId = new Guid(),
                ItemName = "ToDo-6",
                Description = "ToDo-6 description",
                CreatedDate = new DateTime(2011, 5, 6),
                StartTime = new DateTime(2011, 5, 6),
                EndTime = new DateTime(2012, 5, 6),
                Status = ToDoStatus.Created,
                Category = "Category 2"
            });

            ToDoItems.Add(new ToDoItem()
            {
                ItemId = new Guid(),
                ItemName = "ToDo-7",
                Description = "ToDo-7 description",
                CreatedDate = new DateTime(2011, 5, 7),
                StartTime = new DateTime(2011, 5, 7),
                EndTime = new DateTime(2012, 5, 7),
                Status = ToDoStatus.Created,
                Category = "Category 3"
            });

            ToDoItems.Add(new ToDoItem()
            {
                ItemId = new Guid(),
                ItemName = "ToDo-8",
                Description = "ToDo-8 description",
                CreatedDate = new DateTime(2011, 5, 8),
                StartTime = new DateTime(2011, 5, 8),
                EndTime = new DateTime(2012, 5, 8),
                Status = ToDoStatus.Created,
                Category = "Category 1"
            });


            ToDoItems.Add(new ToDoItem()
            {
                ItemId = new Guid(),
                ItemName = "ToDo-9",
                Description = "ToDo-9 description",
                CreatedDate = new DateTime(2011, 5, 9),
                StartTime = new DateTime(2011, 5, 9),
                EndTime = new DateTime(2012, 5, 9),
                Status = ToDoStatus.Created,
                Category = "Category 2"
            });

            ToDoItems.Add(new ToDoItem()
            {
                ItemId = new Guid(),
                ItemName = "ToDo-10",
                Description = "ToDo-10 description",
                CreatedDate = new DateTime(2011, 5, 10),
                StartTime = new DateTime(2011, 5, 10),
                EndTime = new DateTime(2012, 5, 10),
                Status = ToDoStatus.Created,
                Category = "Category 3"
            });

            ToDoItems.Add(new ToDoItem()
            {
                ItemId = new Guid(),
                ItemName = "ToDo-11",
                Description = "ToDo-11 description",
                CreatedDate = new DateTime(2011, 5, 11),
                StartTime = new DateTime(2011, 5, 11),
                EndTime = new DateTime(2012, 5, 11),
                Status = ToDoStatus.Created,
                Category = "Category 1"
            });

            ToDoItems.Add(new ToDoItem()
            {
                ItemId = new Guid(),
                ItemName = "ToDo-12",
                Description = "ToDo-12 description",
                CreatedDate = new DateTime(2011, 5, 12),
                StartTime = new DateTime(2011, 5, 12),
                EndTime = new DateTime(2012, 5, 12),
                Status = ToDoStatus.Created,
                Category = "Category 2"
            });

            ToDoItems.Add(new ToDoItem()
            {
                ItemId = new Guid(),
                ItemName = "ToDo-13",
                Description = "ToDo-13 description",
                CreatedDate = new DateTime(2011, 5, 13),
                StartTime = new DateTime(2011, 5, 13),
                EndTime = new DateTime(2012, 5, 13),
                Status = ToDoStatus.Created,
                Category = "Category 3"
            });

            ToDoItems.Add(new ToDoItem()
            {
                ItemId = new Guid(),
                ItemName = "ToDo-14",
                Description = "ToDo-14 description",
                CreatedDate = new DateTime(2011, 5, 14),
                StartTime = new DateTime(2011, 5, 14),
                EndTime = new DateTime(2012, 5, 14),
                Status = ToDoStatus.Created,
                Category = "Category 1"
            });

            ToDoItems.Add(new ToDoItem()
            {
                ItemId = new Guid(),
                ItemName = "ToDo-15",
                Description = "ToDo-15 description",
                CreatedDate = new DateTime(2011, 5, 15),
                StartTime = new DateTime(2011, 5, 15),
                EndTime = new DateTime(2012, 5, 15),
                Status = ToDoStatus.Created,
                Category = "Category 2"
            });

            ToDoItems.Add(new ToDoItem()
            {
                ItemId = new Guid(),
                ItemName = "ToDo-16",
                Description = "ToDo-16 description",
                CreatedDate = new DateTime(2011, 5, 16),
                StartTime = new DateTime(2011, 5, 16),
                EndTime = new DateTime(2012, 5, 16),
                Status = ToDoStatus.Created,
                Category = "Category 3"
            });

            ToDoItems.Add(new ToDoItem()
            {
                ItemId = new Guid(),
                ItemName = "ToDo-17",
                Description = "ToDo-17 description",
                CreatedDate = new DateTime(2011, 5, 17),
                StartTime = new DateTime(2011, 5, 17),
                EndTime = new DateTime(2012, 5, 17),
                Status = ToDoStatus.Created,
                Category = "Category 1"
            });

            ToDoItems.Add(new ToDoItem()
            {
                ItemId = new Guid(),
                ItemName = "ToDo-18",
                Description = "ToDo-18 description",
                CreatedDate = new DateTime(2011, 5, 18),
                StartTime = new DateTime(2011, 5, 18),
                EndTime = new DateTime(2012, 5, 18),
                Status = ToDoStatus.Created,
                Category = "Category 2"
            });

            ToDoItems.Add(new ToDoItem()
            {
                ItemId = new Guid(),
                ItemName = "ToDo-19",
                Description = "ToDo-19 description",
                CreatedDate = new DateTime(2011, 5, 19),
                StartTime = new DateTime(2011, 5, 19),
                EndTime = new DateTime(2012, 5, 19),
                Status = ToDoStatus.Created,
                Category = "Category 3"
            });

            ToDoItems.Add(new ToDoItem()
            {
                ItemId = new Guid(),
                ItemName = "ToDo-20",
                Description = "ToDo-20 description",
                CreatedDate = new DateTime(2011, 5, 20),
                StartTime = new DateTime(2011, 5, 20),
                EndTime = new DateTime(2012, 5, 20),
                Status = ToDoStatus.Created,
                Category = "Category 1"
            });

            ToDoItems.Add(new ToDoItem()
            {
                ItemId = new Guid(),
                ItemName = "ToDo-21",
                Description = "ToDo-21 description",
                CreatedDate = new DateTime(2011, 5, 21),
                StartTime = new DateTime(2011, 5, 21),
                EndTime = new DateTime(2012, 5, 21),
                Status = ToDoStatus.Created,
                Category = "Category 2"
            });

            return ToDoItems;
        }
    }
}